//
// Created by longyunbo on 7/21/21.
//

#include "JavaVFrame.h"

JavaVFrame::JavaVFrame(int maxlocals,MethodInfo* methodInfo){
    locals = new StackValueCollection(maxlocals);
    ownerMethod = methodInfo;
};

StackValueCollection* JavaVFrame::getStack(){
    return stack;
};


StackValueCollection* JavaVFrame::getLocals(){
    return locals;
};



